#!/bin/sh

# indicate here your path to Galatee
#cd /home/nicolas/apps/DatasetExplorer/DatasetExplorer-1.0-2010.12.01

libraries="./lib/commons-codec-1.3.jar:\
./lib/commons-httpclient-3.1.jar:\
./lib/commons-io-1.4.jar:\
./lib/commons-lang-2.4.jar:\
./lib/commons-logging-1.1.1.jar:\
./lib/conja-1.03-SNAPSHOT.jar:\
./lib/jiu.jar:\
./lib/log4j-1.2.15.jar:\
./lib/jai/jai_codec.jar:\
./lib/jai/jai_core.jar:\
./lib/jai/mlibwrapper_jai.jar:\
./lib/org-netbeans-swing-outline.jar:\
./lib/FSExplorer-0.19-2010.06.29.jar:\
./lib/Tinker-0.16-2011.01.26.jar:\
./lib/cbiaproto3-1.2-2011.01.17.jar:\
./lib/lucene-core-3.0.1.jar:\
./lib/batik-1.8pre/batik-all.jar:\
./lib/batik-1.8pre/batik-anim.jar:\
./lib/batik-1.8pre/batik-awt-util.jar:\
./lib/batik-1.8pre/batik-bridge.jar:\
./lib/batik-1.8pre/batik-codec.jar:\
./lib/batik-1.8pre/batik-css.jar:\
./lib/batik-1.8pre/batik-dom.jar:\
./lib/batik-1.8pre/batik-extension.jar:\
./lib/batik-1.8pre/batik-ext.jar:\
./lib/batik-1.8pre/batik-gui-util.jar:\
./lib/batik-1.8pre/batik-gvt.jar:\
./lib/batik-1.8pre/batik-parser.jar:\
./lib/batik-1.8pre/batik-script.jar:\
./lib/batik-1.8pre/batik-svg-dom.jar:\
./lib/batik-1.8pre/batik-svggen.jar:\
./lib/batik-1.8pre/batik-swing.jar:\
./lib/batik-1.8pre/batik-transcoder.jar:\
./lib/batik-1.8pre/batik-util.jar:\
./lib/batik-1.8pre/batik-xml.jar:\
./lib/batik-1.8pre/js.jar:\
./lib/batik-1.8pre/pdf-transcoder.jar:\
./lib/batik-1.8pre/xalan-2.6.0.jar:\
./lib/batik-1.8pre/xerces_2_5_0.jar:\
./lib/batik-1.8pre/xml-apis-ext.jar:\
./lib/batik-1.8pre/xml-apis.jar:\
./lib/jmagine-0.34-2010.07.01.jar:\
./lib/jpf.jar:\
./lib/Galatee-1.49-2011.01.14.jar:\
./lib/commons-vfs-1.0.jar:\
./lib/LIFE-0.14-2011.03.28.jar:\
./lib/idw-gpl.jar:\
./lib/IIDF-1.8-2011.02.18.jar:\
./LIFE_externals/Lire-0.8/lire.jar:\
./LIFE_externals/Lire-0.8/lib/caliph-emir-cbir.jar:\
./LIFE_externals/Lire-0.8/lib/Jama-1.0.2.jar:\
./LIFE_externals/Lire-0.8/lib/lucene-core-3.0,1.jar:\
./DatasetExplorer-1.1-2011.10.31.jar"

#for i586
#export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:./lib/jai/jai_i586/
#java -Xmx2048M -cp ${libraries} net.trevize.datasetexplorer.DatasetExplorer

#for amd64
#export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:./lib/jai/jai_amd64/
#java -Xmx2048M -cp ${libraries} net.trevize.datasetexplorer.DatasetExplorer

#pure java mode
java -Xmx2048M -cp ${libraries} net.trevize.datasetexplorer.DatasetExplorer
